// rootReducer 合并各个reducer
import { combineReducers } from "redux";
import { carouselSettingReducer } from "./carouselSetting";
import { friendshipLinkSettingReducer } from "./friendshipLinkSetting";
import { homeModuleSettingReducer } from "./homeModuleSetting";
import { homeSettingReducer } from "./homeSetting";
import { logoTitleReducer } from "./logoTitle";
import { menuSettingReducer } from "./menuSetting";
import { moduleManageReducer } from "./moduleManage";
import { moduleSettingReducer } from "./moduleSetting";
import { userReducer } from "./user";
import { userManageReducer } from "./userManage";

const rootReducer = combineReducers({
  carouselSettingReducer,
  friendshipLinkSettingReducer,
  homeModuleSettingReducer,
  homeSettingReducer,
  logoTitleReducer,
  menuSettingReducer,
  moduleManageReducer,
  moduleSettingReducer,
  userManageReducer,
  userReducer,
});

export default rootReducer;
